@layout("/backend/common/_container.html"){
<!--<div class="row row-lg">
    <div class="col-sm-12">
        <div class="dhcc-con">
            <div class="dhcc-con-left">
				<#SelectRelative id="Hospital" name="院区" url="/cdc/cdchospital/query" key="id" text="description"/>
				<#SelectRelative id="LocDic" name="管理科室" url="/cdc/cdclocation/query" pid="Hospital" key="id" text="description"/>
				<#DateHisui id="SDate" name="开始时间"/>
				<#DateHisui id="EDate" name="结束时间"/>
				<#SelectCon id="DocDic" name="管理医生" />
				<#SelectTreeCon id="entity" name="管理病种" url="/sds/sdsqcentity/tree" />
				<#SelectCon id="Status" name="当前状态" />
				<#InputCon id="MrNo" name="病案号" />
				<#Button name="查询" icon="icon-w-find" clickFun="SdsQcincase.search()" />
			</div>
        </div>
    	<#Table id="SdsQcincaseTable"/>
    </div>
</div>-->
<style>
	.dhcc-con .form-group{
		margin-bottom: 5px;
	}
</style>
<#Layout >
	<#Layout_Left title='查询条件' width='260px'>
	<div class="row row-lg">
		<div class="col-sm-12">
			<div class="dhcc-con dhcc-con-left dhcc-con-boder" >
				@var dateMap={'1':'入院时间','2':'出院时间'};
				<#SelectCon id="dateType1" name="查询日期" map="${dateMap}" hasEmpty='false'/>
				<#DateHisui id="startDate1" name="开始日期" value="${startDate}" />
				<#DateHisui id="endDate1" name="结束日期" value="${endDate}" />
				<#SelectCon id="fillStatus" name="填报状态" map="${fillStatusMap}" />
				<#SelectCon id="reportStatus" name="上报状态" map="${reportStatusMap}"  />
				<#SelectCon id="groupStatus" name="入组状态" map="${groupStatusMap}" />
				<#InputCon id="recordNumber" name="病案号" />
				<#InputCon id="name" name="患者姓名" />
				<#InputCon id="dept" name="科室" />
				<#InputCon id="doctor" name="主管医生" />
				<#Hidden id="abbrev"/>
			</div>
			<div class="hidden-xs" id="EpisodeIDTableToolbar" role="group">
				<#Button name="查询" icon="icon-search" plain="true" clickFun="SdsQcincase.search2()" />
				<#Button name="清空" icon="icon-reload" plain="true" clickFun="SdsQcincase.clear2()" />
			</div>
		</div>
	</div>
	</#Layout_Left>
	<#Layout_Center  id='entityName' title=' '>
		<div style="position:fixed;right:12px;top:12px;z-index:99;">
			<a id = "btnBatchUp" class="hisui-linkbutton yellow"  style="float:left;margin-right: 10px;">批量上报</a>
			<a id = "btnShowEntiy" class="hisui-linkbutton green"  style="float:right">返回病种列表</a>
		</div>
		<#Table id="SdsQcincaseTable"/>
	</#Layout_Center>
	<div id="winQCEntity" class="hisui-dialog" style="width:1140px;height:597px">
		<div class="dhcc-con dhcc-con-boder">
			<div class="dhcc-con-left">
				@var dateMap={'1':'入院时间','2':'出院时间'};
				<#SelectCon id="dateType2" map="${dateMap}" hasEmpty='false'/>
				<#DateHisui id="startDate2" name="开始日期" value="${startDate}" />
				<#DateHisui id="endDate2" name="结束日期" value="${endDate}" />
				<#Button name="查询" icon="icon-w-find" clickFun="SdsQcincase.search1()"/>
			</div>
			<div class="dhcc-con-right">
				<p>检索出<span id="entityNum"></span>份</p>
			</div>
		</div>
		<div id="QCEntityList" ><div>
			@var formCheck = "0";
			@if(shiro.hasPermission("form:check")){
				@formCheck = "1";
			@}
			<#Hidden id="formCheck" value="${formCheck}"/>
			@var formSubmit = "0";
			@if(shiro.hasPermission("form:submit")){
			@formSubmit = "1";
			@}
			<#Hidden id="formSubmit" value="${formSubmit}"/>
			<#Hidden id="formCheckType" value="${formCheckType}"/>
		<!--<div style="padding:20px">
			<div style=" border: 1px solid #ccc; float: left;padding: 10px;width: 260px;margin-right: 15px;margin-bottom: 15px;">
				<p style="margin: 5px 0 20px 0;">心肌梗塞</p>
				<img src="/static/common/img/sds/HF.png" style="float: left;border-radius: 10px;" width="50px" height="50px" />
				<div style="float: left;margin-left: 15px;">
					<p style="margin:0 0 10px 0;">待填报：<span>222</span></p>
					<p style="margin: 0;">已上报：<span>30</span></p>
				</div>
			</div>
			<div style=" border: 1px solid #ccc; float: left;padding: 10px;width: 260px;margin-right: 15px;margin-bottom: 15px;">
				<p style="margin: 5px 0 20px 0;">心肌梗塞</p>
				<img src="/static/common/img/sds/HF.png" style="float: left;border-radius: 10px;" width="50px" height="50px" />
				<div style="float: left;margin-left: 15px;">
					<p style="margin:0 0 10px 0;">待填报：<span>222</span></p>
					<p style="margin: 0;">已上报：<span>30</span></p>
				</div>
			</div>
			<div style=" border: 1px solid #ccc; float: left;padding: 10px;width: 260px;margin-right: 15px;margin-bottom: 15px;">
				<p style="margin: 5px 0 20px 0;">心肌梗塞</p>
				<img src="/static/common/img/sds/HF.png" style="float: left;border-radius: 10px;" width="50px" height="50px" />
				<div style="float: left;margin-left: 15px;">
					<p style="margin:0 0 10px 0;">待填报：<span>222</span></p>
					<p style="margin: 0;">已上报：<span>30</span></p>
				</div>
			</div>
			<div style=" border: 1px solid #ccc; float: left;padding: 10px;width: 260px;margin-right: 15px;margin-bottom: 15px;">
				<p style="margin: 5px 0 20px 0;">心肌梗塞</p>
				<img src="/static/common/img/sds/HF.png" style="float: left;border-radius: 10px;" width="50px" height="50px" />
				<div style="float: left;margin-left: 15px;">
					<p style="margin:0 0 10px 0;">待填报：<span>222</span></p>
					<p style="margin: 0;">已上报：<span>30</span></p>
				</div>
			</div>
			<div style=" border: 1px solid #ccc; float: left;padding: 10px;width: 260px;margin-right: 15px;margin-bottom: 15px;">
				<p style="margin: 5px 0 20px 0;">心肌梗塞</p>
				<img src="/static/common/img/sds/HF.png" style="float: left;border-radius: 10px;" width="50px" height="50px" />
				<div style="float: left;margin-left: 15px;">
					<p style="margin:0 0 10px 0;">待填报：<span>222</span></p>
					<p style="margin: 0;">已上报：<span>30</span></p>
				</div>
			</div>
			<div style=" border: 1px solid #ccc; float: left;padding: 10px;width: 260px;margin-right: 15px;margin-bottom: 15px;">
				<p style="margin: 5px 0 20px 0;">心肌梗塞</p>
				<img src="/static/common/img/sds/HF.png" style="float: left;border-radius: 10px;" width="50px" height="50px" />
				<div style="float: left;margin-left: 15px;">
					<p style="margin:0 0 10px 0;">待填报：<span>222</span></p>
					<p style="margin: 0;">已上报：<span>30</span></p>
				</div>
			</div>

		</div>-->

	</div>
</#Layout>
<script src="${ctxPath}/static/backend/sds/sdsqcincase/sdsqcincase.js"></script>
@}
